package com.wangshang.team.order.po;

import java.util.Date;

/**
 * AbstractTeamShopOrder entity provides the base persistence definition of the
 * TeamShopOrder entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractTeamShopOrder implements java.io.Serializable {

	// Fields

	private TeamShopOrderId id;
	private Integer workId;
	private Integer hallId;
	private String userName;
	private Short userIdType;
	private String userId;
	private String userConnect;
	private String userAddr;
	private Date createTime;
	private Integer cashPay;
	private Integer totalCost;
	private Short orderStatus;
	private Short wayOfDelivery;
	private Long placeId;
	private Long placeMask;
	private String resultForUnexpected;

	// Constructors

	/** default constructor */
	public AbstractTeamShopOrder() {
	}

	/** minimal constructor */
	public AbstractTeamShopOrder(TeamShopOrderId id, Integer workId,
			Integer hallId, String userName, Short userIdType, String userId,
			String userConnect, String userAddr, Date createTime,
			Integer cashPay, Integer totalCost, Short orderStatus,
			Short wayOfDelivery, Long placeId, Long placeMask) {
		this.id = id;
		this.workId = workId;
		this.hallId = hallId;
		this.userName = userName;
		this.userIdType = userIdType;
		this.userId = userId;
		this.userConnect = userConnect;
		this.userAddr = userAddr;
		this.createTime = createTime;
		this.cashPay = cashPay;
		this.totalCost = totalCost;
		this.orderStatus = orderStatus;
		this.wayOfDelivery = wayOfDelivery;
		this.placeId = placeId;
		this.placeMask = placeMask;
	}

	/** full constructor */
	public AbstractTeamShopOrder(TeamShopOrderId id, Integer workId,
			Integer hallId, String userName, Short userIdType, String userId,
			String userConnect, String userAddr, Date createTime,
			Integer cashPay, Integer totalCost, Short orderStatus,
			Short wayOfDelivery, Long placeId, Long placeMask,
			String resultForUnexpected) {
		this.id = id;
		this.workId = workId;
		this.hallId = hallId;
		this.userName = userName;
		this.userIdType = userIdType;
		this.userId = userId;
		this.userConnect = userConnect;
		this.userAddr = userAddr;
		this.createTime = createTime;
		this.cashPay = cashPay;
		this.totalCost = totalCost;
		this.orderStatus = orderStatus;
		this.wayOfDelivery = wayOfDelivery;
		this.placeId = placeId;
		this.placeMask = placeMask;
		this.resultForUnexpected = resultForUnexpected;
	}

	// Property accessors

	public TeamShopOrderId getId() {
		return this.id;
	}

	public void setId(TeamShopOrderId id) {
		this.id = id;
	}

	public Integer getWorkId() {
		return this.workId;
	}

	public void setWorkId(Integer workId) {
		this.workId = workId;
	}

	public Integer getHallId() {
		return this.hallId;
	}

	public void setHallId(Integer hallId) {
		this.hallId = hallId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Short getUserIdType() {
		return this.userIdType;
	}

	public void setUserIdType(Short userIdType) {
		this.userIdType = userIdType;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserConnect() {
		return this.userConnect;
	}

	public void setUserConnect(String userConnect) {
		this.userConnect = userConnect;
	}

	public String getUserAddr() {
		return this.userAddr;
	}

	public void setUserAddr(String userAddr) {
		this.userAddr = userAddr;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getCashPay() {
		return this.cashPay;
	}

	public void setCashPay(Integer cashPay) {
		this.cashPay = cashPay;
	}

	public Integer getTotalCost() {
		return this.totalCost;
	}

	public void setTotalCost(Integer totalCost) {
		this.totalCost = totalCost;
	}

	public Short getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(Short orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Short getWayOfDelivery() {
		return this.wayOfDelivery;
	}

	public void setWayOfDelivery(Short wayOfDelivery) {
		this.wayOfDelivery = wayOfDelivery;
	}

	public Long getPlaceId() {
		return this.placeId;
	}

	public void setPlaceId(Long placeId) {
		this.placeId = placeId;
	}

	public Long getPlaceMask() {
		return this.placeMask;
	}

	public void setPlaceMask(Long placeMask) {
		this.placeMask = placeMask;
	}

	public String getResultForUnexpected() {
		return this.resultForUnexpected;
	}

	public void setResultForUnexpected(String resultForUnexpected) {
		this.resultForUnexpected = resultForUnexpected;
	}

}